@layout("/backend/common/_container.html"){
<div class="hisui-panel" fit="true" style="padding:10px;border:0px;">
    <div class="hisui-layout" data-options="fit:true">
        <div data-options="region:'west'" style="width:300px;padding:0;border:0px;">
            <div class="hisui-panel" title="诊疗阶段列表"
                 data-options="iconCls:'icon-resort',fit:true,headerCls:'panel-header-gray'" style="width:200px;">
                <div class="dhcc-hisui-toolbar">
                    <div class="dhcc-hisui-toolbar-seach">
                        <input type="text" id="seachKey" value="" class="textbox" />
                    </div>
                    <div class="dhcc-hisui-toolbar-btn">
                        <a onclick="StageRelation.ztree.getObject().expandAll(true)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-add" plain="true">展开全部</a>
                        <a onclick="StageRelation.ztree.getObject().expandAll(false)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-unuse" plain="true">折叠全部</a>
                    </div>
                </div>
                <ul id="stageTree" class="ztree"></ul>
            </div>
        </div>
        <div id="workArea" data-options="region:'center'" style="padding:0 0 0 10px;border:0px;">
            <div class="hisui-layout" data-options="fit:true">
                <div data-options="region:'center'"
                     style="border:1px solid #ccc;border-radius:0 0 4px 4px;">
                    <div id="custtb" style="height:50px;padding:3px" >
                        <#Button name="全部" icon="icon-all-select" plain="true" clickFun="StageRelation.search('all')"/>
                        <#Button name="未对照" icon="icon-compare-no" plain="true" clickFun="StageRelation.search('noMatch')"/>
                        <#Button name="已对照" icon="icon-compare-yes" plain="true" clickFun="StageRelation.search('match')"/>
                        <input class="hisui-searchbox" style="width:180px" id="searchKey"/>
                    </div>
                    <div id="MatchArea" class="hisui-panel" data-options="title: '对照诊疗方案',fit:true,headerCls:'panel-header-gray',iconCls:'icon-batch-cfg'">
                        <div id="NullTab" style="border:none;" class="hisui-panel" data-options="fit:true">
                            <p style="padding:10px;font-size:16px;">没有需要对照的内容...</p>
                        </div>
                        <div id="stageRelationTab" style="border:none;" class="hisui-panel" data-options="fit:true">
                            <table id="stageRelationMatch" toolbar="#custtb"></table>
                        </div>
                    </div>

                </div>

            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/backend/sdc/sdcstagerelation/sdcstagerelation.js"></script>
@}
